from graph import*
windowSize(500,500)
x=int(input("x="))
y=int(input("y="))
n=int(input("n="))
penColor("blue")
brushColor("blue")
if x*n>500 or y*n>500 or x*n+10*n>500 or y*n+10*n>500 or x*n+20*n>500 or y*n+20*n>500 or y*n+30*n>500 or x*n<0 or y*n<0 or x*n+10*n<0 or y*n+10*n<0 or x*n+20*n<0 or y*n+20*n<0 or y*n+30*n<0:
    print("error")
else:
    polygon([(x*n,y*n),(x*n+10*n,y*n),(x*n+10*n,y*n+10*n),(x*n+20*n,y*n+10*n),(x*n+20*n,y*n+20*n),(x*n+10*n,y*n+20*n),(x*n+10*n,y*n+30*n),(x*n,y*n+30*n),(x*n,y*n)])
run()














                            
